export default {
  createWarehouse:{//创建仓库
    url: '/stock/warehouse/create',
    require:['token','clientid','name']//location,code,data
  },
  deleteWarehouse:{//删除仓库，参数：id(选)、code(选)
    url: '/stock/warehouse/delete',
    require: ['token','clientid'],
  },
  updateWarehouse:{//更新仓库，参数：id、name(选)、enable(选)、location(选)、code(选)、data(选)
    url: '/stock/warehouse/update',
    require: ['token','clientid','id'],
  },
  getWarehouse:{//获取仓库，参数：id(选)、code(选)
    url: '/stock/warehouse/get',
    require: ['token','clientid'],
  },
  getWarehouseList:{//获取仓库列表
    url: '/stock/warehouse/list',
    require: ['token','clientid'],
  },
}


